package main

import (
	"fmt"
	"math"
)

func main() {
	//chapter_3_2_1()
	chapter_3_2_3()
	chapter_3_3()
}

func chapter_3_2_1() {
	var m, n int
	fmt.Print("输入第一个数")
	fmt.Scan(&m)
	fmt.Print("输入第二个数")
	fmt.Scan(&n)
	r1 := m + n
	r2 := m - n
	r3 := m * n
	r4 := m / n
	fmt.Print(r1, r2, r3, r4)
}

func chapter_3_2_3() {
	result := math.Pow(5, 3)
	fmt.Println(result)
}

func chapter_3_3() {
	fmt.Println("ab" < "b")

	var num = 3000
	var p1 *int = &num
	var p2 *int = &num
	fmt.Println(p1 == p2)

	//var p3 *string = new(string)
	//var p4 *float32 = new(float32)
	//fmt.Println(p3 == p4)

}
